﻿namespace FFF.Test.Application.Repositories.Demo
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.Application.Services.Dto;
    using Abp.AutoMapper;
    using FFF.Test.Entity.Demo;

	/// <summary>
    /// 学生课程表(编辑)展示时候的dto
    /// </summary>
	[AutoMap(typeof(DemoStudent2CourseEntity))] 
    public class DemoStudent2CourseResDto : EntityDto<Guid>
    {
		/// <summary>
        /// 课程GUID
        /// </summary>
		[Display(Name = "课程GUID", Description = "课程GUID")]
        [Column("CourseGUID")]
        public Guid? CourseGUID { get; set; }
        
		/// <summary>
        /// 学生GUID
        /// </summary>
		[Display(Name = "学生GUID", Description = "学生GUID")]
        [Column("StudentGUID")]
        public Guid? StudentGUID { get; set; }
        
		/// <summary>
        /// 分数
        /// </summary>
		[Display(Name = "分数", Description = "分数")]
        [Column("Score")]
        public decimal Score { get; set; }
        
    }
}
